package gov.fgn.sijyp.integracion.origen;

import java.io.Serializable;

import javax.persistence.*;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * The persistent class for the relacionpostuladoversion database
 * table.
 */
@Entity
@Table(name = "relacionpostuladoversion", schema = "siijyp_integracion")
//@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class RelacionPostuladoVersion implements Serializable {
  private static final long serialVersionUID = 1L;

  @EmbeddedId
  private RelacionPostuladoVersionPK id;

  @Column(length = 15)
  private String ip;

  @Column(length = 10)
  private String usuario;

  public RelacionPostuladoVersion() {
    this.id = new RelacionPostuladoVersionPK();
  }

  public RelacionPostuladoVersionPK getId() {
    return this.id;
  }

  public void setId(RelacionPostuladoVersionPK id) {
    this.id = id;
  }

  public String getIp() {
    return this.ip;
  }

  public void setIp(String ip) {
    this.ip = ip;
  }

  public String getUsuario() {
    return this.usuario;
  }

  public void setUsuario(String usuario) {
    this.usuario = usuario;
  }

}